<template>
  <div class="header">
    <span class="header_title">{{ title }}</span>
    <!-- <img
      class="header_img"
      src="@/assets/images/icon_logout.png"
      @click="skipToPortal"> -->
  </div>
</template>
<script setup>
import { defineProps } from 'vue'

const props = defineProps({
  title: {
    type: String,
    default: '车路协同管理系统'
  }
})

// const skipToPortal = () => {
//   window.location.replace(window.g.PortalUrl)
// }
</script>
<style lang="less" scoped>
.header {
  width: 100%;
  height: 64px;
  background-color: white;
  text-align: start;
  .header_title {
    line-height: 64px;
    font-size: 18px;
    padding: 0 33px;
  }

  .header_img {
    width: 18px;
    height: 18px;
    float: right;
    margin-right: 10px;
    margin-top: 23px;
    cursor: pointer;
  }
}
</style>
